package com.zzyl.nursing.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel(description = "护理任务视图对象")
public class NursingTaskByIdVo {
    /** id */
    private Long id;

    /** 护理员id  多个id,以逗号分隔 */
    private String nursingId;

    /** 项目id */
    private Long projectId;

    /** 护理项目名称 */
    private String projectName;

    /** 老人id */
    private Long elderId;

    /** 老人姓名 */
    private String elderName;

    /** 床位编号 */
    private String bedNumber;

    /** 预计服务时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime estimatedServerTime;

    /** 实际服务时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime realServerTime;

    /** 执行记录 */
    private String mark;

    /** 取消原因 */
    private String cancelReason;

    /** 状态  1待执行 2已执行 3已关闭  */
    private Integer status;

    /** 执行图片 */
    private String taskImage;

    private List nursingName;
    private String nursingLevelName;
    private Integer age;
    private String updater;
    private String updateTime;

}